//
//  ChivoxBus.h
//  ChivoxEngine
//
//  Created by xianchen.peng on 2018/9/27.
//  Copyright © 2018 Chivox. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ChivoxBusConst.h"

NS_ASSUME_NONNULL_BEGIN

@interface ChivoxBus : NSObject
@property (nonatomic, strong) NSString *server;
@property (nonatomic, strong) NSString *appId;
@property (nonatomic, strong) NSString *userId;
@property (nonatomic, strong) NSString *osVersion; // OS and Version
@property (nonatomic, assign) int underWifi;
@property (nonatomic, assign) int reconnectDelay;

- (void)commit:(NSDictionary *)log;
- (void)pushAll;

@end

NS_ASSUME_NONNULL_END
